11.4 Application recycling
SIU references: SIU-173, SIU-174, SIU-175, SIU-176, SIU-177, SIU-178, SIU-179, SIU-180, SIU-181, SIU-182, SIU-183.
Application recycling works by creating a duplicate of the Dllhost process associated with an application. This duplicate Dllhost process services all future object requests, which leaves the old Dllhost to finish servicing the remaining object requests. The old Dllhost process is shut down when it detects the release of all external references to objects in the process or when the expiration time-out value is reached. Through this behavior, application recycling ensures that a client application does not experience a service interruption.
This section provides guidelines for settings for the MyID COM+ components to implement application recycling.
11.4.1 Settings for COM+ components
If you are experiencing performance problems, you can set the Lifetime Limit and Memory Limit for all of the MyID components.
The Edefice_BOL component is installed with a default lifetime limit of 120 minutes; the Edefice_DAL component is installed with a default lifetime limit of 30 minutes; the other MyID components are installed with a lifetime limit of 0. The Edefice_DAL component is installed with a default memory limit of 1000000KB; the other MyID components are installed with a memory limit of 0.
- Shut down all MyID clients.
- On the MyID application server, in the Windows Control Panel's Administrative Tools, open the Component Services.
- Expand Component Services > Computers > My Computer > COM+ Applications.
-
You must make the following changes for each of the MyID components.
This may include some or all of the following components, depending on the features you have installed on your MyID application server:
- APDUCardServer
- EAudit
- eCS
- Edefice_BOL
- Edefice_CS
- Edefice_DAL
- eEventLog
- eExternalDataSource
- Entrust_Admin
- ePKIConfig
- ExpiringItems
- ImportProcessor
- MyID SNMP Agent
- MyIDSCEPHandler
- Right-click the MyID component and select Properties from the pop-up menu.
- Click the Pooling & Recycling tab.
- Set the Lifetime Limit to 30 (30 minutes).
-
Set the Memory Limit to 768000 (750MB).
Leave the rest of the settings at their default values: leave the Pool Size at 1, the Expiration Timeout at 15, the Call Limit at 0, and the Activation Limit at 0
- Click OK.
-
To ensure that the component uses the new settings, right-click the component, and select Shut down from the pop-up menu.
The component will automatically restart when it is needed.